<template>
  <div class="message-div">
    <template v-if="this.messageList!=null">
      <div v-for="(item,index) in messageList" :key="index" class="feed-element">
        <div class="media-body">
          <span style="width:75%;overflow:hidden;" :title="item.title">{{ item.xxnr }}</span>
          <span style="color:#cacaca;">{{ item.xxscsj }}</span>
        </div>
      </div>
    </template>
    <div v-else class="media-body emtpyInfo">目前暂无您的流程安排</div>
  </div>
</template>
<script>
export default {
  props: {
    messageList: Array
  },
  data() {
    return {
      listLoading: true
    }
  },
  methods: {
    handleClick(path) {
      this.$router.push({
        path: '/' + path
      })
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.message-div {
  .all-product-left-line {
    color: #0076d6;
    font-weight: 600;
  }
  .box-card-header {
    position: relative;
    height: 25px;
  }

  .media-body {
    font-size: 14px;
    padding: 0px 0px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-between;
    cursor: pointer;
    span {
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
      height: 40px;
    line-height: 23px;
    padding: 6px 0px;
    }
  }

  .emtpyInfo {
    color: #666666;
    font-size: 12px;
    text-align: center;
  }
}
</style>
